import React from 'react';
import { Result, Button } from 'antd';

function NotFound() {
  const reFresh = () => {
    window.location.reload();
  };
  return (
    <Result
        status="404"
        title="404"
        subTitle="不存在的页面,请重试"
        extra={<Button type="primary" onClick={reFresh}>重试</Button>}
    />
  );
}

export default NotFound;
